home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / stat.z / stat
Encoding:
Text File  |  2001-04-17  |  2.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ssssttttaaaatttt((((1111MMMM))))                                                              ssssttttaaaatttt((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ssss_tttt_aaaa_tttt - display stat attributes of named files
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _ssss_tttt_aaaa_tttt _[[[[ ----LLLLiiiiddddrrrrllllssssppppkkkkuuuuggggjjjjccccaaaammmmttttqqqq ] [ ----ffff _f_d_e_s_c ] _n_a_m_e ...
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      For each argument _n_a_m_e, _s_t_a_t(2) that name and display the results.  By
  16.      default, display all the _s_t_a_t(2) attributes.  If specific attributes are
  17.      requested, just display those requested.
  18.  
  19.      The options are:
  20.  
  21.      ----LLLL   Use _l_s_t_a_t(2) instead.
  22.  
  23.      ----qqqq   Quiet; just print numeric value of displayed attributes, without
  24.           syntactic sugar, for easier use in shell scripts.
  25.  
  26.      ----iiii   Show inode number (st_ino).
  27.  
  28.      ----dddd   Show device (st_dev).
  29.  
  30.      ----rrrr   Show raw device (st_rdev).
  31.  
  32.      ----llll   Show link count (st_nlink).
  33.  
  34.      ----ssss   Show size (st_size).
  35.  
  36.      ----pppp   Show permissions (st_mode).
  37.  
  38.      ----kkkk   Show kind; describe upper bits of st_mode.
  39.  
  40.      ----uuuu   Show user id (st_uid).
  41.  
  42.      ----gggg   Show group id (st_gid).
  43.  
  44.      ----jjjj   Show project id (st_projid).
  45.  
  46.      ----cccc   Show last status change time (st_ctime).
  47.  
  48.      ----aaaa   Show last access time (st_atime).
  49.  
  50.      ----mmmm   Show last modification time (st_mtime).
  51.  
  52.      ----tttt   Show all three times.
  53.  
  54.      ----ffff _f_d_e_s_c
  55.           Stat the file descriptor _f_d_e_s_c instead of names.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ssssttttaaaatttt((((1111MMMM))))                                                              ssssttttaaaatttt((((1111MMMM))))
  71.  
  72.  
  73.  
  74. SEE ALSO
  75.      lstat(2), stat(2).
  76.  
  77. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  78.      _s_t_a_t returns exit code of 0 if _s_t_a_t(2) was successful on all the
  79.      specified names.  Otherwise, it returns the number of names for which
  80.      _s_t_a_t(2) failed, or 255, whichever is less.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.